#pragma once
#include "afxwin.h"


// CLoginSet dialog

class CLoginSet : public CDialog
{
	DECLARE_DYNAMIC(CLoginSet)

public:
	CLoginSet(CWnd* pParent = NULL);   // standard constructor
	virtual ~CLoginSet();
	CString& getCompanyName(){return m_name;}
	CString& getCompanyPicPath(){return m_picPath;}
	CString& getCompanyPhone(){return m_phone;}
	CString& getCompanyAddress(){return m_address;}

	void setCompanyName		(const CString& name)		{ m_name = name;}
	void setCompanyPicPath	(const CString& picPath)	{ m_picPath = picPath;}
	void setCompanyPhone	(const CString& phone)	{ m_phone = phone;}
	void setCompanyAddress	(const CString& address)	{ m_address = address;}

// Dialog Data
	enum { IDD = IDD_LOGIN_SET };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support


	DECLARE_MESSAGE_MAP()
public:
	CString m_name;
	CString m_picPath;
public:
	CString m_phone;
public:
	CString m_address;
public:
	afx_msg void OnBnClickedOk();
public:
	CStatic m_picture;
public:
	afx_msg void OnPaint();
private:
	void showPicture();
	afx_msg void OnBnClickedButton1();
};
